#ifndef _OOFREEIMAGEIMAGECODEC_H_
#define _OOFREEIMAGEIMAGECODEC_H_

#include "ooengine.h"

//------------------------------------------------------------------------
class ooTexture;

//------------------------------------------------------------------------
class ooFreeImageImageCodec
{
public:
	ooFreeImageImageCodec();
	virtual ~ooFreeImageImageCodec();

	const String&	getSupportedFormat() const;
	bool			loadFromMemory(const Ptr<RawDataContainer>& data, Ptr<ooTexture> texture);
	bool			load(const String& filename, Ptr<ooTexture> texture);

protected:
	String			m_supportedFormat;
};

#endif